package com.chen.wow.event;

import org.springframework.context.ApplicationEvent;

/**
 * 
 * <p>Title:DemoEvent</>
 * <p>Description:1.自定义事件</p>
 * @author chen
 * 2017年3月2日下午6:22:17
 */
public class DemoEvent extends ApplicationEvent {
	/**
	 * 
	 */
	private static final long serialVersionUID = -5750192218767516331L;
	
	private String msg;

	public DemoEvent(Object source, String msg) {
		super(source);
		this.msg = msg;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	
}
